package com.example.shixunandjavagotoyangchen.BoosYang.Day001.Day00188;

import com.blankj.utilcode.util.ToastUtils;
import com.example.modelviewpresenter.Presenter.BasterPresenter;

import java.util.List;

/**
 * 作者:二徒
 * 时间：2021/11/11- 18:35
 * 功能实现：
 */
public class AbstractPresenter extends BasterPresenter<AbstractContion.vier,AbstractContion.moder> {


    public AbstractPresenter(AbstractContion.vier iew, AbstractContion.moder asd) {
        super(iew, asd);
    }

    public void dogetin(String name){
        asd.getmoder(name, new AbstractCallback() {
            @Override
            public void suees(List<AbstractBean.DataBean> dataBeans) {
                iew.getvier(dataBeans);
            }

            @Override
            public void filai(String uet) {
                ToastUtils.showShort(""+uet);
            }
        });
    }
}
